package com.train.springboot.springboottrain.web;

import com.train.springboot.springboottrain.model.User;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.servlet.http.HttpServletRequest;




@RestController
public class FilterController {


    //一个进入过滤器
    @RequestMapping(value = "/user1/detail")
    public String userDetail(){
        return "/user/detail";
    }


    //一个没进入过滤器
    @RequestMapping(value = "/center1")
    public String center(){
        return " Center ";
    }


}
